<?php
namespace App\Http\Service\Agent;


use App\Http\Service\Basic\BasicService;
use Config;

class AgentService extends BasicService
{


    /**
     * @param $order
     * @return bool|mixed|string
     * 代理商注册
     */

    public function AgentRegister($where)
    {
//        dd(Config::get('custom.setting.BASE_API_PATH') . Config::get('custom.api.agent_register'), json_encode($where,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), 'post');
        return $this->curlLogic->callWebServer(Config::get('custom.setting.BASE_API_PATH') . Config::get('custom.api.agent_register'), json_encode($where, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), 'post');
    }
}